package o;

import android.content.res.AssetManager;
import androidx.annotation.NonNull;
import java.io.IOException;
import java.io.InputStream;

public class su extends sk<InputStream> {
    private static int ˊ = 0;
    private static int ˋ = 1;

    protected java.io.InputStream ॱ(android.content.res.AssetManager r1, java.lang.String r2) throws java.io.IOException {
        /* JADX: method processing error */
/*
Error: jadx.core.utils.exceptions.DecodeException: Load method exception in method: o.su.ॱ(android.content.res.AssetManager, java.lang.String):java.io.InputStream
	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:116)
	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:249)
	at jadx.core.ProcessClass.process(ProcessClass.java:34)
	at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)
	at jadx.api.JavaClass.decompile(JavaClass.java:62)
Caused by: java.lang.NullPointerException
*/
        /*
        r0 = this;
        r0 = ˋ;
        r0 = r0 + 99;
        r1 = r0 % 128;
        ˊ = r1;
        r0 = r0 % 2;
        if (r0 == 0) goto L_0x000c;
    L_0x000c:
        r0 = 2;
        r1 = new java.lang.Object[r0];	 Catch:{ all -> 0x0047 }
        r0 = 1;	 Catch:{ all -> 0x0047 }
        r1[r0] = r8;	 Catch:{ all -> 0x0047 }
        r0 = 0;	 Catch:{ all -> 0x0047 }
        r1[r0] = r7;	 Catch:{ all -> 0x0047 }
        r0 = 5;	 Catch:{ all -> 0x0047 }
        r2 = 0;	 Catch:{ all -> 0x0047 }
        r3 = 15235; // 0x3b83 float:2.1349E-41 double:7.527E-320;	 Catch:{ all -> 0x0047 }
        r0 = o.avb.ˏ(r0, r2, r3);	 Catch:{ all -> 0x0047 }
        r0 = (java.lang.Class) r0;	 Catch:{ all -> 0x0047 }
        r2 = "ˏ";	 Catch:{ all -> 0x0047 }
        r3 = 2;	 Catch:{ all -> 0x0047 }
        r3 = new java.lang.Class[r3];	 Catch:{ all -> 0x0047 }
        r4 = 0;	 Catch:{ all -> 0x0047 }
        r5 = android.content.res.AssetManager.class;	 Catch:{ all -> 0x0047 }
        r3[r4] = r5;	 Catch:{ all -> 0x0047 }
        r4 = 1;	 Catch:{ all -> 0x0047 }
        r5 = java.lang.String.class;	 Catch:{ all -> 0x0047 }
        r3[r4] = r5;	 Catch:{ all -> 0x0047 }
        r0 = r0.getMethod(r2, r3);	 Catch:{ all -> 0x0047 }
        r2 = 0;	 Catch:{ all -> 0x0047 }
        r0 = r0.invoke(r2, r1);	 Catch:{ all -> 0x0047 }
        r0 = (java.io.InputStream) r0;	 Catch:{ all -> 0x0047 }
        r1 = ˊ;
        r1 = r1 + 71;
        r2 = r1 % 128;
        ˋ = r2;
        r1 = r1 % 2;
        if (r1 != 0) goto L_0x0045;
    L_0x0046:
        return r0;
    L_0x0047:
        r0 = move-exception;
        r1 = r0.getCause();
        if (r1 == 0) goto L_0x004f;
        throw r1;
        throw r0;
        */
        throw new UnsupportedOperationException("Method not decompiled: o.su.ॱ(android.content.res.AssetManager, java.lang.String):java.io.InputStream");
    }

    protected /* synthetic */ Object ˎ(AssetManager assetManager, String str) throws IOException {
        return ॱ(assetManager, str);
    }

    public su(AssetManager assetManager, String str) {
        super(assetManager, str);
    }

    protected void ˊ(InputStream inputStream) throws IOException {
        inputStream.close();
    }

    @NonNull
    public Class<InputStream> ˋ() {
        return InputStream.class;
    }
}
